Optimal. Leaf size=177 \[ -\frac {3 \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{c^5 d^2}+\frac {3 x \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}-\frac {3 b \text {Li}_2\left (-e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}+\frac {3 b \text {Li}_2\left (e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}-\frac {b \sqrt {c x-1} \sqrt {c x+1}}{2 c^5 d^2}-\frac {b x^2}{2 c^3 d^2 \sqrt {c x-1} \sqrt {c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.23, antiderivative size = 177, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 9, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.360, Rules used = {5750, 98, 21, 74, 5766, 5694, 4182, 2279, 2391} \[ -\frac {3 b \text {PolyLog}\left (2,-e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}+\frac {3 b \text {PolyLog}\left (2,e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}+\frac {3 x \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}-\frac {3 \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{c^5 d^2}-\frac {b x^2}{2 c^3 d^2 \sqrt {c x-1} \sqrt {c x+1}}-\frac {b \sqrt {c x-1} \sqrt {c x+1}}{2 c^5 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 74
Rule 98
Rule 2279
Rule 2391
Rule 4182
Rule 5694
Rule 5750
Rule 5766
Rubi steps
\begin {align*} \int \frac {x^4 \left (a+b \cosh ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^2} \, dx &=\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}+\frac {b \int \frac {x^3}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{2 c d^2}-\frac {3 \int \frac {x^2 \left (a+b \cosh ^{-1}(c x)\right )}{d-c^2 d x^2} \, dx}{2 c^2 d}\\ &=-\frac {b x^2}{2 c^3 d^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 x \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}-\frac {b \int \frac {x (-2-2 c x)}{\sqrt {-1+c x} (1+c x)^{3/2}} \, dx}{2 c^3 d^2}-\frac {(3 b) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{2 c^3 d^2}-\frac {3 \int \frac {a+b \cosh ^{-1}(c x)}{d-c^2 d x^2} \, dx}{2 c^4 d}\\ &=-\frac {b x^2}{2 c^3 d^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3 b \sqrt {-1+c x} \sqrt {1+c x}}{2 c^5 d^2}+\frac {3 x \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}+\frac {3 \operatorname {Subst}\left (\int (a+b x) \text {csch}(x) \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^5 d^2}+\frac {b \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{c^3 d^2}\\ &=-\frac {b x^2}{2 c^3 d^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b \sqrt {-1+c x} \sqrt {1+c x}}{2 c^5 d^2}+\frac {3 x \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}-\frac {3 \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{c^5 d^2}-\frac {(3 b) \operatorname {Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^5 d^2}+\frac {(3 b) \operatorname {Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^5 d^2}\\ &=-\frac {b x^2}{2 c^3 d^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b \sqrt {-1+c x} \sqrt {1+c x}}{2 c^5 d^2}+\frac {3 x \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}-\frac {3 \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{c^5 d^2}-\frac {(3 b) \operatorname {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}+\frac {(3 b) \operatorname {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}\\ &=-\frac {b x^2}{2 c^3 d^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b \sqrt {-1+c x} \sqrt {1+c x}}{2 c^5 d^2}+\frac {3 x \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 c^2 d^2 \left (1-c^2 x^2\right )}-\frac {3 \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{c^5 d^2}-\frac {3 b \text {Li}_2\left (-e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}+\frac {3 b \text {Li}_2\left (e^{\cosh ^{-1}(c x)}\right )}{2 c^5 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.09, size = 244, normalized size = 1.38 \[ \frac {-\frac {2 a c x}{c^2 x^2-1}+4 a c x+3 a \log (1-c x)-3 a \log (c x+1)-6 b \text {Li}_2\left (-e^{\cosh ^{-1}(c x)}\right )+6 b \text {Li}_2\left (e^{\cosh ^{-1}(c x)}\right )-4 b c x \sqrt {\frac {c x-1}{c x+1}}+\frac {b c x \sqrt {\frac {c x-1}{c x+1}}}{1-c x}+\frac {b \sqrt {\frac {c x-1}{c x+1}}}{1-c x}-3 b \sqrt {\frac {c x-1}{c x+1}}+4 b c x \cosh ^{-1}(c x)+\frac {b \cosh ^{-1}(c x)}{1-c x}-\frac {b \cosh ^{-1}(c x)}{c x+1}+6 b \cosh ^{-1}(c x) \log \left (1-e^{\cosh ^{-1}(c x)}\right )-6 b \cosh ^{-1}(c x) \log \left (e^{\cosh ^{-1}(c x)}+1\right )}{4 c^5 d^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.59, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b x^{4} \operatorname {arcosh}\left (c x\right ) + a x^{4}}{c^{4} d^{2} x^{4} - 2 \, c^{2} d^{2} x^{2} + d^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.61, size = 300, normalized size = 1.69 \[ \frac {a x}{c^{4} d^{2}}-\frac {a}{4 c^{5} d^{2} \left (c x -1\right )}+\frac {3 a \ln \left (c x -1\right )}{4 c^{5} d^{2}}-\frac {a}{4 c^{5} d^{2} \left (c x +1\right )}-\frac {3 a \ln \left (c x +1\right )}{4 c^{5} d^{2}}+\frac {b \,\mathrm {arccosh}\left (c x \right ) x}{c^{4} d^{2}}-\frac {b \sqrt {c x -1}\, \sqrt {c x +1}}{c^{5} d^{2}}-\frac {b \,\mathrm {arccosh}\left (c x \right ) x}{2 c^{4} d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {c x +1}\, \sqrt {c x -1}}{2 c^{5} d^{2} \left (c^{2} x^{2}-1\right )}-\frac {3 b \,\mathrm {arccosh}\left (c x \right ) \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{2 c^{5} d^{2}}-\frac {3 b \polylog \left (2, -c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )}{2 c^{5} d^{2}}+\frac {3 b \,\mathrm {arccosh}\left (c x \right ) \ln \left (1-c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )}{2 c^{5} d^{2}}+\frac {3 b \polylog \left (2, c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )}{2 c^{5} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{64} \, {\left (16 \, c^{4} {\left (\frac {2 \, x}{c^{10} d^{2} x^{2} - c^{8} d^{2}} - \frac {4 \, x}{c^{8} d^{2}} + \frac {3 \, \log \left (c x + 1\right )}{c^{9} d^{2}} - \frac {3 \, \log \left (c x - 1\right )}{c^{9} d^{2}}\right )} - 576 \, c^{3} \int \frac {x^{3} \log \left (c x - 1\right )}{8 \, {\left (c^{8} d^{2} x^{4} - 2 \, c^{6} d^{2} x^{2} + c^{4} d^{2}\right )}}\,{d x} - 24 \, c^{2} {\left (\frac {2 \, x}{c^{8} d^{2} x^{2} - c^{6} d^{2}} + \frac {\log \left (c x + 1\right )}{c^{7} d^{2}} - \frac {\log \left (c x - 1\right )}{c^{7} d^{2}}\right )} + 192 \, c^{2} \int \frac {x^{2} \log \left (c x - 1\right )}{8 \, {\left (c^{8} d^{2} x^{4} - 2 \, c^{6} d^{2} x^{2} + c^{4} d^{2}\right )}}\,{d x} - 9 \, {\left (c {\left (\frac {2}{c^{8} d^{2} x - c^{7} d^{2}} - \frac {\log \left (c x + 1\right )}{c^{7} d^{2}} + \frac {\log \left (c x - 1\right )}{c^{7} d^{2}}\right )} + \frac {4 \, \log \left (c x - 1\right )}{c^{8} d^{2} x^{2} - c^{6} d^{2}}\right )} c + \frac {4 \, {\left (3 \, {\left (c^{2} x^{2} - 1\right )} \log \left (c x + 1\right )^{2} + 6 \, {\left (c^{2} x^{2} - 1\right )} \log \left (c x + 1\right ) \log \left (c x - 1\right ) + 4 \, {\left (4 \, c^{3} x^{3} - 6 \, c x - 3 \, {\left (c^{2} x^{2} - 1\right )} \log \left (c x + 1\right ) + 3 \, {\left (c^{2} x^{2} - 1\right )} \log \left (c x - 1\right )\right )} \log \left (c x + \sqrt {c x + 1} \sqrt {c x - 1}\right )\right )}}{c^{7} d^{2} x^{2} - c^{5} d^{2}} - 64 \, \int -\frac {4 \, c^{3} x^{3} - 6 \, c x - 3 \, {\left (c^{2} x^{2} - 1\right )} \log \left (c x + 1\right ) + 3 \, {\left (c^{2} x^{2} - 1\right )} \log \left (c x - 1\right )}{4 \, {\left (c^{9} d^{2} x^{5} - 2 \, c^{7} d^{2} x^{3} + c^{5} d^{2} x + {\left (c^{8} d^{2} x^{4} - 2 \, c^{6} d^{2} x^{2} + c^{4} d^{2}\right )} \sqrt {c x + 1} \sqrt {c x - 1}\right )}}\,{d x} - 192 \, \int \frac {\log \left (c x - 1\right )}{8 \, {\left (c^{8} d^{2} x^{4} - 2 \, c^{6} d^{2} x^{2} + c^{4} d^{2}\right )}}\,{d x}\right )} b - \frac {1}{4} \, a {\left (\frac {2 \, x}{c^{6} d^{2} x^{2} - c^{4} d^{2}} - \frac {4 \, x}{c^{4} d^{2}} + \frac {3 \, \log \left (c x + 1\right )}{c^{5} d^{2}} - \frac {3 \, \log \left (c x - 1\right )}{c^{5} d^{2}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x^4\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {a x^{4}}{c^{4} x^{4} - 2 c^{2} x^{2} + 1}\, dx + \int \frac {b x^{4} \operatorname {acosh}{\left (c x \right )}}{c^{4} x^{4} - 2 c^{2} x^{2} + 1}\, dx}{d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________